package com.sc.nft.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.entity.DaoEcologyPointsWalletLog;
import com.sc.nft.entity.vo.AdminDaoEcologyPointsWalletLogPageVO;
import com.sc.nft.enums.DaoEcologyPointsWalletLogTypeEnum;
import com.sc.nft.mapper.DaoEcologyPointsWalletLogMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @Author：LiGen
 * @Package：com.sc.nft.dao
 * @Project：sc_metago
 * @name：DaoEcologyPointsWalletDao
 * @Date：2024/11/26 11:08
 * @Filename：DaoEcologyPointsWalletDao
 */
@Slf4j
@Repository
public class DaoEcologyPointsWalletLogDao extends ServiceImpl<DaoEcologyPointsWalletLogMapper, DaoEcologyPointsWalletLog> {


    public Page<AdminDaoEcologyPointsWalletLogPageVO> adminDaoEcologyPointsWalletLogPage(Page page, Long daoId, Long walletId, Integer type, Date startTime, Date endTime) {
        return baseMapper.adminDaoEcologyPointsWalletLogPage(page, daoId,walletId, type, startTime, endTime);
    }
}
